home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5977 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Do you have ever pass structures?
  5. Date: Thu, 22 Feb 96 00:26:02 GMT
  6. Organization: none
  7. Message-ID: <824948762snz@genesis.demon.co.uk>
  8. References: <4ge8mi$qjm@srvr1.engin.umich.edu>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4ge8mi$qjm@srvr1.engin.umich.edu>
  15.            hasdi@news-server.engin.umich.edu "HASDI RODZMANN HASHIM" writes:
  16.  
  17. >So is there any REAL advantage is passing an entire structure?
  18.  
  19. In most cases, no. It would be useful if you needed a local copy of the
  20. structure to work on (i.e. to modify without afftecting the copy in the
  21. caller). This might be particularly useful for small structures e.g. to
  22. hold coordinates or complex numbers.
  23.  
  24. -- 
  25. -----------------------------------------
  26. Lawrence Kirby | fred@genesis.demon.co.uk
  27. Wilts, England | 70734.126@compuserve.com
  28. -----------------------------------------
  29.